<style>
	.ad_div{
		display:none;
	}
	.ad_div a{
		text-decoration:none;
	}
	.ad_div img{
		border:0px;
	}
</style>
<div class="ad_[$banner.b_id]" style="height:[$banner.zone.z_height]px;width:[$banner.zone.z_width]px">
    <foreach name="banner.b_files" key="key" var="item">
        <div class="ad_div">
            <a href="/go?seq=http://[$item.f_link]&loc=[$banner.b_id]&sid=[$key]" target="_blank"><img height="[$banner.zone.z_height]" width="[$banner.zone.z_width]" src="http://[$item.f_url]?v=[@time()]" /></a>
        </div>
    </foreach>
</div>
<script src="http://res.61.com/js/base.js">
</script>
<script src="http://res.61.com/js/ads/flip.js">
</script>
<script>
    $(function(){
        $(".ad_[$banner.b_id]>.ad_div").flip({
            hideBtn: false,
            autoTime: 3000,
			width:[$banner.zone.z_width],
			height:[$banner.zone.z_height]
        });
    });
</script>
